package com.template.ejb.service;

import java.util.List;

import javax.ejb.Local;

import com.template.ejb.domain.Person;

@Local
public interface UserService {

	public void create(Person p) throws IllegalArgumentException;

	public Person update(Person p);

	public Person findById(Long id);

	public Person findByLogin(String login);

	public List<Person> getPersons(int offset, int limit);
}
